package com.example.smithing_master.item;
/*
@Author Leonidas
@Date 2025/2/11 - 22:29
@Email zhangye99@bupt.edu.cn
*/

import com.example.smithing_master.Smithing_Master;
import com.example.smithing_master.block.mod_blocks;
import com.ibm.icu.text.DisplayContext;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.text.Text;
import net.minecraft.util.Identifier;

public class mod_item_group {
    public static final ItemGroup smithing_master_group= Registry.register(Registries.ITEM_GROUP,
            new Identifier(Smithing_Master.MOD_ID, "smithing_master_group"),
            FabricItemGroup.builder().displayName(Text.translatable("itemGroup.smithing_master_group"))
                    .icon( () -> new ItemStack(mod_items.Smithing_Master_Icon)).entries((DisplayContext, entries)->{
                        entries.add(mod_blocks.Forging_Furnace);
                        entries.add(Items.LAVA_BUCKET);
                        entries.add(Items.NETHERITE_SWORD);
                        entries.add(Items.NETHERITE_AXE);
                        entries.add(Items.NETHERITE_PICKAXE);
                        entries.add(Items.NETHERITE_HOE);
                        entries.add(Items.NETHERITE_SHOVEL);
                        entries.add(Items.NETHERITE_HELMET);
                        entries.add(Items.NETHERITE_CHESTPLATE);
                        entries.add(Items.NETHERITE_LEGGINGS);
                        entries.add(Items.NETHERITE_BOOTS);
                        entries.add(Items.PHANTOM_MEMBRANE);
                    }).build()
    );
    public static void registerModItemGroup(){

    }
}
